package designPattern.factory.abstractfactory.factory;

import designPattern.factory.abstractfactory.pizza.cheese.Cheese;
import designPattern.factory.abstractfactory.pizza.cheese.RedCheese;
import designPattern.factory.abstractfactory.pizza.pepper.Pepper;
import designPattern.factory.abstractfactory.pizza.pepper.RedPepper;

public class NYPizzaIngredientFactory implements PizzaIngredientFactory{
    @Override
    public Cheese createCheese() {
        return new RedCheese();
    }

    @Override
    public Pepper createPepper() {
        return new RedPepper();
    }
}
